package com.algoshow.DTO;

public class DataDTO {
    // 传输的数据
    private String data;
    private Integer index;
    private Integer value;

    public DataDTO() {
    }

    public DataDTO(String data, Integer index, Integer value) {
        this.data = data;
        this.index = index;
        this.value = value;
    }

    public DataDTO(String data) {
        this.data = data;
    }

    public String getData() {
        return data;
    }

    public void setData(String data) {
        this.data = data;
    }

    public Integer getIndex() {
        return index;
    }

    public void setIndex(Integer index) {
        this.index = index;
    }

    public Integer getValue() {
        return value;
    }

    public void setValue(Integer value) {
        this.value = value;
    }
}
